clear all;
clc;

load mnist0v1;

trainsize = 100;

Yp = kmsplin(data,label(1:trainsize),1);

calacc(Yp,label(trainsize+1:size(label,1)))